import Application from "../application";
import * as views from 'co-views';

export const ViewTask = () => {
    const app = Application.Instance.getApp();
    
    app.context.render = views(__dirname + '/../../views', {
        default: 'swig',
        map: {
            html: 'swig',
            ejs: 'ejs',
            jade: 'jade'
        }
    })
};
